print('用for实现')
one = 0
for i in range(1, 101):
    one = one + i
print(one)
print('用while实现')
two = 0
i = 1
while i < 101:
    two = two + i
    i += 1
print(two)
print('计科1814-39-易芳')
